package com.fast.admin.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collections;
import java.util.List;

/**
 * @Title：LayXtreeVo
 * @author：ylc
 * @date：2018/8/6 11:03
 * @version：1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LayXtreeVo implements Serializable {
    private String value;
    private String title;
    private Long pid;
    private Boolean checked = false;
    private Boolean disabled = false;
    private List<LayXtreeVo> data = Collections.emptyList();

    public LayXtreeVo(String value, String title,Long pid){
        this.value = value;
        this.title = title;
        this.pid = pid;
    }
}
